package com.stqf.scala.grammar.basic

/**
  * Created by ASUS on 2018-01-30.
  */
object ImplicitLearn {
  implicit val num: Int = 10

  def main(args: Array[String]): Unit = {
    print("123")
  }

  def print(str: String)(implicit num: Int): Unit = {
    println(str.toInt * num)
  }

}
